RCG PIM Synchronization Process API - Implementation Template
Data mappings
This document provides information generated from the DataWeave scripts included in the project, such as function definitions, variable definitions, and data mapping tables.
Module | Description |
---|---|
finalResponse | Get product response mapping |
finalResponse
Get product response mapping
Source:
./src/main/resources/dwl/finalResponse.dwl
Mapping Tables
Maps Product,Catalog and Pricing to PIM Message Structure
PIM | B2C | Description |
---|---|---|
id | product.product-id | The id of the product |
name | product.display-name | The name of the product |
description | product.short-description | The short description |
longDescription | product.long-description | The long description of the product |
type | ITEM | Hardcoded ITEM |
isSellable | true | Hardcoded to true |
productStatus | ACTIVE | Hardcoded to ACTIVE |
productSKU | product.manufacturer-sku | The product's SKU of the product |
brand | product.brand | The product brand |
minimumOrderQuantityCount | product.min-order-quantity | The minimum quantity of products that can be ordered |
manufacturerName | product.manufacturer-name | Name of the prodcut manufacturer |
modelNumber | product.upc | The model number of product |
productCategory.id | category.category-id | The id of the category |
productCategory.name | category.display-name | Name if the category |
productCategory.activeFromDate | Current Date | Harcoded to current date |
productCatalog.id | category.parent.category-id | The id of the catalog |
productCatalog.name | category.parent.display-name | Name if the catalog |
productCatalog.activeFromDate | Current Date | Harcoded to current date |
priceBookEntry.id | uuid | The unique id of the price book |
priceBookEntry.unitListPrice | pricebook.amount | The unit list price default by 0.00 |
priceBookEntry.minRequiredOrderValue | pricebook.quantity | The minimum order value default by 0.00 |
externalIds.externalId | product-id | The id of the product |
externalIds.externalId | product-id | The id of the product |
externalIds.externalIdType | SALESFORCE_B2C | Hardcoded to SALESFORCE_B2C |
externalIds.status | VALID | Hardcoded to VALID |
auditInfo.createdDate | currentDate | created Date of the Product |
auditInfo.createdBy | accel-pim-sync-prc-api | Hardcoded to accel-pim-sync-prc-api |
auditInfo.isDeleted | false | Hardcoded to false |
auditInfo.createdBy | accel-pim-sync-prc-api | Hardcoded to accel-pim-sync-prc-api |
auditInfo.updateDate | currentDate | update Date of the Product |